Playlist Listener
interface PlaylistListener
Interface for receiving callbacks about events related to the playback lifecycle of individual Source items within a playlist.
This listener allows applications to respond to significant stages in the presentation of content, such as when a source starts playing or when it completes. It can be used for logging, analytics, updating UI elements, or triggering conditional logic based on playback state.
A class interested in processing these playlist events implements this interface. The listener object is then registered with the component responsible for playlist playback (e.g., using an addPlaylistListener
method on a playback controller or manager).
See also
com. reveldigital. player. playback. Playback Manager
// TODO: Replace with actual class if different